<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>shark::ResizeLayer&lt; VectorType &gt; Class Template Reference</title>
<script type="text/javaScript" src="search/search.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js"></script>
<script src="../../mlstyle.js"></script>
<link href="../css/besser.css" rel="stylesheet" type="text/css"/>
</head>
<!-- pretty cool: each body gets an id tag which is the basename of the web page  -->
<!--              and allows for page-specific CSS. this is client-side scripted, -->
<!--              so the id will not yet show up in the served source code -->
<script type="text/javascript">
    jQuery(document).ready(function () {
        var url = jQuery(location).attr('href');
        var pname = url.substr(url.lastIndexOf("/")+1, url.lastIndexOf(".")-url.lastIndexOf("/")-1);
        jQuery('#this_url').html('<strong>' + pname + '</strong>');
        jQuery('body').attr('id', pname);
    });
</script>
<body>
    <div id="shark_old">
        <div id="wrap">
            <div id="header">
                <div id="site-name"><a href="../../sphinx_pages/build/html/index.html">Shark machine learning library</a></div>
                <ul id="nav">
                    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/installation.html">Installation</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/tutorials/tutorials.html">Tutorials</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/benchmark.html">Benchmarks</a>
                    </li>
                    <li class="active">
                        <a href="classes.html">Documentation</a>
                        <ul>
                            <li class="first"></li>
                            <li><a href="../../sphinx_pages/build/html/rest_sources/quickref/quickref.html">Quick references</a></li>
                            <li><a href="classes.html">Class list</a></li>
                            <li class="last"><a href="group__shark__globals.html">Global functions</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
<div id="doxywrapper">
<!--
    <div id="global_doxytitle">Doxygen<br>Documentation:</div>
-->
    <div id="navrow_wrapper">
<!-- Generated by Doxygen 1.9.8 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceshark.html">shark</a></li><li class="navelem"><a class="el" href="classshark_1_1_resize_layer.html">ResizeLayer</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="classshark_1_1_resize_layer-members.html">List of all members</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle"><div class="title">shark::ResizeLayer&lt; VectorType &gt; Class Template Reference<div class="ingroups"><a class="el" href="group__models.html">Models</a></div></div></div>
</div><!--header-->
<div class="contents">

<p>Resizes an input image to a given size.  
 <a href="classshark_1_1_resize_layer.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_resize_layer_8h_source.html">shark/Models/ResizeLayer.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for shark::ResizeLayer&lt; VectorType &gt;:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classshark_1_1_resize_layer__inherit__graph.png" border="0" usemap="#ashark_1_1_resize_layer_3_01_vector_type_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="ashark_1_1_resize_layer_3_01_vector_type_01_4_inherit__map" id="ashark_1_1_resize_layer_3_01_vector_type_01_4_inherit__map">
<area shape="rect" title="Resizes an input image to a given size." alt="" coords="29,109,163,150"/>
<area shape="rect" href="classshark_1_1_abstract_model.html" title="Base class for all Models." alt="" coords="5,5,187,61"/>
<area shape="poly" title=" " alt="" coords="99,77,99,109,93,109,93,77"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a83d970b4538adad3aa095e08ca639c9e" id="r_a83d970b4538adad3aa095e08ca639c9e"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">base_type::BatchOutputType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_resize_layer.html#a83d970b4538adad3aa095e08ca639c9e">BatchOutputType</a></td></tr>
<tr class="separator:a83d970b4538adad3aa095e08ca639c9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0cfbefe78f78e071d3b9db899b3c3f29" id="r_a0cfbefe78f78e071d3b9db899b3c3f29"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">base_type::BatchInputType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_resize_layer.html#a0cfbefe78f78e071d3b9db899b3c3f29">BatchInputType</a></td></tr>
<tr class="separator:a0cfbefe78f78e071d3b9db899b3c3f29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a165db648b407275a7a9b2d870757c8ff" id="r_a165db648b407275a7a9b2d870757c8ff"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_i_parameterizable.html#a2ad5e2e60b2b352988b41f46024d790b">base_type::ParameterVectorType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_resize_layer.html#a165db648b407275a7a9b2d870757c8ff">ParameterVectorType</a></td></tr>
<tr class="separator:a165db648b407275a7a9b2d870757c8ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classshark_1_1_abstract_model"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classshark_1_1_abstract_model')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classshark_1_1_abstract_model.html">shark::AbstractModel&lt; InputTypeT, OutputTypeT, ParameterVectorType &gt;</a></td></tr>
<tr class="memitem:a76a2d024b6013037b072596fe4f9f829 inherit pub_types_classshark_1_1_abstract_model" id="r_a76a2d024b6013037b072596fe4f9f829"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a76a2d024b6013037b072596fe4f9f829">Feature</a> { <a class="el" href="classshark_1_1_abstract_model.html#a76a2d024b6013037b072596fe4f9f829a89a819e2614f818baa23c5c8fdd4393d">HAS_FIRST_PARAMETER_DERIVATIVE</a> = 1
, <a class="el" href="classshark_1_1_abstract_model.html#a76a2d024b6013037b072596fe4f9f829a82b5c22e1b95f20aff01b4b39e86c607">HAS_FIRST_INPUT_DERIVATIVE</a> = 4
 }</td></tr>
<tr class="separator:a76a2d024b6013037b072596fe4f9f829 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a714e85d7a6cd2b68898cb5dbb25c37d4 inherit pub_types_classshark_1_1_abstract_model" id="r_a714e85d7a6cd2b68898cb5dbb25c37d4"><td class="memItemLeft" align="right" valign="top">typedef InputTypeT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a></td></tr>
<tr class="memdesc:a714e85d7a6cd2b68898cb5dbb25c37d4 inherit pub_types_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Defines the input type of the model.  <br /></td></tr>
<tr class="separator:a714e85d7a6cd2b68898cb5dbb25c37d4 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e5acf043e3a76b50d15a852365801b4 inherit pub_types_classshark_1_1_abstract_model" id="r_a8e5acf043e3a76b50d15a852365801b4"><td class="memItemLeft" align="right" valign="top">typedef OutputTypeT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a8e5acf043e3a76b50d15a852365801b4">OutputType</a></td></tr>
<tr class="memdesc:a8e5acf043e3a76b50d15a852365801b4 inherit pub_types_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Defines the output type of the model.  <br /></td></tr>
<tr class="separator:a8e5acf043e3a76b50d15a852365801b4 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fccb0cdf4c0b47afbe5da03532b9b4e inherit pub_types_classshark_1_1_abstract_model" id="r_a7fccb0cdf4c0b47afbe5da03532b9b4e"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_abstract_model.html">AbstractModel</a>&lt; InputTypeT, OutputTypeT, <a class="el" href="classshark_1_1_i_parameterizable.html#a2ad5e2e60b2b352988b41f46024d790b">ParameterVectorType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a7fccb0cdf4c0b47afbe5da03532b9b4e">ModelBaseType</a></td></tr>
<tr class="memdesc:a7fccb0cdf4c0b47afbe5da03532b9b4e inherit pub_types_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Defines the BaseType used by the model (this type). Useful for creating derived models.  <br /></td></tr>
<tr class="separator:a7fccb0cdf4c0b47afbe5da03532b9b4e inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a518304e95092673b7b6438cace052ef6 inherit pub_types_classshark_1_1_abstract_model" id="r_a518304e95092673b7b6438cace052ef6"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structshark_1_1_batch.html">Batch</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a></td></tr>
<tr class="memdesc:a518304e95092673b7b6438cace052ef6 inherit pub_types_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">defines the batch type of the input type.  <br /></td></tr>
<tr class="separator:a518304e95092673b7b6438cace052ef6 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0c72e230b9a1324c95ba8ac0b07ba13 inherit pub_types_classshark_1_1_abstract_model" id="r_aa0c72e230b9a1324c95ba8ac0b07ba13"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structshark_1_1_batch.html">Batch</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a8e5acf043e3a76b50d15a852365801b4">OutputType</a> &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a></td></tr>
<tr class="memdesc:aa0c72e230b9a1324c95ba8ac0b07ba13 inherit pub_types_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">defines the batch type of the output type  <br /></td></tr>
<tr class="separator:aa0c72e230b9a1324c95ba8ac0b07ba13 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6b242b73aadc63380181fdf4da1db84 inherit pub_types_classshark_1_1_abstract_model" id="r_aa6b242b73aadc63380181fdf4da1db84"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_typed_flags.html">TypedFlags</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a76a2d024b6013037b072596fe4f9f829">Feature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#aa6b242b73aadc63380181fdf4da1db84">Features</a></td></tr>
<tr class="separator:aa6b242b73aadc63380181fdf4da1db84 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48785f538572a695c46b9eec7a4a00f3 inherit pub_types_classshark_1_1_abstract_model" id="r_a48785f538572a695c46b9eec7a4a00f3"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_typed_feature_not_available_exception.html">TypedFeatureNotAvailableException</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a76a2d024b6013037b072596fe4f9f829">Feature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a48785f538572a695c46b9eec7a4a00f3">FeatureNotAvailableException</a></td></tr>
<tr class="separator:a48785f538572a695c46b9eec7a4a00f3 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classshark_1_1_i_parameterizable"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classshark_1_1_i_parameterizable')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classshark_1_1_i_parameterizable.html">shark::IParameterizable&lt; VectorType &gt;</a></td></tr>
<tr class="memitem:a2ad5e2e60b2b352988b41f46024d790b inherit pub_types_classshark_1_1_i_parameterizable" id="r_a2ad5e2e60b2b352988b41f46024d790b"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_parameterizable.html#a2ad5e2e60b2b352988b41f46024d790b">ParameterVectorType</a></td></tr>
<tr class="separator:a2ad5e2e60b2b352988b41f46024d790b inherit pub_types_classshark_1_1_i_parameterizable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a05beadeb7f4aec71d513d624b9ca95be" id="r_a05beadeb7f4aec71d513d624b9ca95be"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_resize_layer.html#a05beadeb7f4aec71d513d624b9ca95be">ResizeLayer</a> ()</td></tr>
<tr class="memdesc:a05beadeb7f4aec71d513d624b9ca95be"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Constructor; use setStructure later.  <br /></td></tr>
<tr class="separator:a05beadeb7f4aec71d513d624b9ca95be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76c3b0f7b0fbe80c02e43ad1990ce737" id="r_a76c3b0f7b0fbe80c02e43ad1990ce737"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_resize_layer.html#a76c3b0f7b0fbe80c02e43ad1990ce737">ResizeLayer</a> (<a class="el" href="classshark_1_1_shape.html">Shape</a> const &amp;<a class="el" href="classshark_1_1_resize_layer.html#a66576bbb87bfcc6bdb701e7f1cccc5b5">inputShape</a>, <a class="el" href="classshark_1_1_shape.html">Shape</a> const &amp;<a class="el" href="classshark_1_1_resize_layer.html#ae43eb5d812fd6d8cfa09404779c90973">outputShape</a>, <a class="el" href="namespaceshark.html#a2dfa4aef4918dec16157e690d4cd9573">Interpolation</a> type=<a class="el" href="namespaceshark.html#a2dfa4aef4918dec16157e690d4cd9573a4cff6afc4963881749f7742fbb4d1392">Interpolation::Spline</a>)</td></tr>
<tr class="memdesc:a76c3b0f7b0fbe80c02e43ad1990ce737"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the model.  <br /></td></tr>
<tr class="separator:a76c3b0f7b0fbe80c02e43ad1990ce737"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea826ee3fef39378ae5d73850de34850" id="r_aea826ee3fef39378ae5d73850de34850"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_resize_layer.html#aea826ee3fef39378ae5d73850de34850">name</a> () const</td></tr>
<tr class="memdesc:aea826ee3fef39378ae5d73850de34850"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns the name of the object  <br /></td></tr>
<tr class="separator:aea826ee3fef39378ae5d73850de34850"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66576bbb87bfcc6bdb701e7f1cccc5b5" id="r_a66576bbb87bfcc6bdb701e7f1cccc5b5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_shape.html">Shape</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_resize_layer.html#a66576bbb87bfcc6bdb701e7f1cccc5b5">inputShape</a> () const</td></tr>
<tr class="memdesc:a66576bbb87bfcc6bdb701e7f1cccc5b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the expected shape of the input.  <br /></td></tr>
<tr class="separator:a66576bbb87bfcc6bdb701e7f1cccc5b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae43eb5d812fd6d8cfa09404779c90973" id="r_ae43eb5d812fd6d8cfa09404779c90973"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_shape.html">Shape</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_resize_layer.html#ae43eb5d812fd6d8cfa09404779c90973">outputShape</a> () const</td></tr>
<tr class="memdesc:ae43eb5d812fd6d8cfa09404779c90973"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the shape of the output.  <br /></td></tr>
<tr class="separator:ae43eb5d812fd6d8cfa09404779c90973"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5ceb0d72cba7461594d9dd2f6642a1a" id="r_aa5ceb0d72cba7461594d9dd2f6642a1a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_resize_layer.html#a165db648b407275a7a9b2d870757c8ff">ParameterVectorType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_resize_layer.html#aa5ceb0d72cba7461594d9dd2f6642a1a">parameterVector</a> () const</td></tr>
<tr class="memdesc:aa5ceb0d72cba7461594d9dd2f6642a1a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtain the parameter vector.  <br /></td></tr>
<tr class="separator:aa5ceb0d72cba7461594d9dd2f6642a1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ea41f7fa3024defb23ce0199c4a99f9" id="r_a9ea41f7fa3024defb23ce0199c4a99f9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_resize_layer.html#a9ea41f7fa3024defb23ce0199c4a99f9">setParameterVector</a> (<a class="el" href="classshark_1_1_resize_layer.html#a165db648b407275a7a9b2d870757c8ff">ParameterVectorType</a> const &amp;newParameters)</td></tr>
<tr class="memdesc:a9ea41f7fa3024defb23ce0199c4a99f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the new parameters of the model.  <br /></td></tr>
<tr class="separator:a9ea41f7fa3024defb23ce0199c4a99f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6918d49bd4beb58f02ae8c31ce7a6df0" id="r_a6918d49bd4beb58f02ae8c31ce7a6df0"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_resize_layer.html#a6918d49bd4beb58f02ae8c31ce7a6df0">numberOfParameters</a> () const</td></tr>
<tr class="memdesc:a6918d49bd4beb58f02ae8c31ce7a6df0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the number of parameters.  <br /></td></tr>
<tr class="separator:a6918d49bd4beb58f02ae8c31ce7a6df0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afffd6a3b962c11a7500180f4550ae42d" id="r_afffd6a3b962c11a7500180f4550ae42d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_resize_layer.html#afffd6a3b962c11a7500180f4550ae42d">setStructure</a> (<a class="el" href="classshark_1_1_shape.html">Shape</a> const &amp;<a class="el" href="classshark_1_1_resize_layer.html#a66576bbb87bfcc6bdb701e7f1cccc5b5">inputShape</a>, <a class="el" href="classshark_1_1_shape.html">Shape</a> const &amp;<a class="el" href="classshark_1_1_resize_layer.html#ae43eb5d812fd6d8cfa09404779c90973">outputShape</a>, <a class="el" href="namespaceshark.html#a2dfa4aef4918dec16157e690d4cd9573">Interpolation</a> type=<a class="el" href="namespaceshark.html#a2dfa4aef4918dec16157e690d4cd9573a4cff6afc4963881749f7742fbb4d1392">Interpolation::Spline</a>)</td></tr>
<tr class="memdesc:afffd6a3b962c11a7500180f4550ae42d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the model.  <br /></td></tr>
<tr class="separator:afffd6a3b962c11a7500180f4550ae42d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a997263b15ab2384f4d2b3006caf32211" id="r_a997263b15ab2384f4d2b3006caf32211"><td class="memItemLeft" align="right" valign="top">boost::shared_ptr&lt; <a class="el" href="structshark_1_1_state.html">State</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_resize_layer.html#a997263b15ab2384f4d2b3006caf32211">createState</a> () const</td></tr>
<tr class="memdesc:a997263b15ab2384f4d2b3006caf32211"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an internal state of the model.  <br /></td></tr>
<tr class="separator:a997263b15ab2384f4d2b3006caf32211"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a422e9b8b2a8b3d8c96e88ae413828faa" id="r_a422e9b8b2a8b3d8c96e88ae413828faa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_resize_layer.html#a422e9b8b2a8b3d8c96e88ae413828faa">eval</a> (<a class="el" href="classshark_1_1_resize_layer.html#a0cfbefe78f78e071d3b9db899b3c3f29">BatchInputType</a> const &amp;inputs, <a class="el" href="classshark_1_1_resize_layer.html#a83d970b4538adad3aa095e08ca639c9e">BatchOutputType</a> &amp;outputs, <a class="el" href="structshark_1_1_state.html">State</a> &amp;) const</td></tr>
<tr class="memdesc:a422e9b8b2a8b3d8c96e88ae413828faa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Evaluate the model.  <br /></td></tr>
<tr class="separator:a422e9b8b2a8b3d8c96e88ae413828faa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaafcc82e666ef955a86f1ddd4510f81f" id="r_aaafcc82e666ef955a86f1ddd4510f81f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_resize_layer.html#aaafcc82e666ef955a86f1ddd4510f81f">weightedParameterDerivative</a> (<a class="el" href="classshark_1_1_resize_layer.html#a0cfbefe78f78e071d3b9db899b3c3f29">BatchInputType</a> const &amp;inputs, <a class="el" href="classshark_1_1_resize_layer.html#a83d970b4538adad3aa095e08ca639c9e">BatchOutputType</a> const &amp;outputs, <a class="el" href="classshark_1_1_resize_layer.html#a83d970b4538adad3aa095e08ca639c9e">BatchOutputType</a> const &amp;coefficients, <a class="el" href="structshark_1_1_state.html">State</a> const &amp;state, <a class="el" href="classshark_1_1_resize_layer.html#a165db648b407275a7a9b2d870757c8ff">ParameterVectorType</a> &amp;gradient) const</td></tr>
<tr class="memdesc:aaafcc82e666ef955a86f1ddd4510f81f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculates the first derivative w.r.t the parameters and summing them up over all inputs of the last computed batch.  <br /></td></tr>
<tr class="separator:aaafcc82e666ef955a86f1ddd4510f81f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7e74232d7382fa6040bb3c3b86a30d9" id="r_ac7e74232d7382fa6040bb3c3b86a30d9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_resize_layer.html#ac7e74232d7382fa6040bb3c3b86a30d9">weightedInputDerivative</a> (<a class="el" href="classshark_1_1_resize_layer.html#a0cfbefe78f78e071d3b9db899b3c3f29">BatchInputType</a> const &amp;inputs, <a class="el" href="classshark_1_1_resize_layer.html#a83d970b4538adad3aa095e08ca639c9e">BatchOutputType</a> const &amp;outputs, <a class="el" href="classshark_1_1_resize_layer.html#a83d970b4538adad3aa095e08ca639c9e">BatchOutputType</a> const &amp;coefficients, <a class="el" href="structshark_1_1_state.html">State</a> const &amp;state, <a class="el" href="classshark_1_1_resize_layer.html#a0cfbefe78f78e071d3b9db899b3c3f29">BatchInputType</a> &amp;derivatives) const</td></tr>
<tr class="memdesc:ac7e74232d7382fa6040bb3c3b86a30d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculates the first derivative w.r.t the inputs and summs them up over all inputs of the last computed batch.  <br /></td></tr>
<tr class="separator:ac7e74232d7382fa6040bb3c3b86a30d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11d506d07029226e1436c78e3ee75df7" id="r_a11d506d07029226e1436c78e3ee75df7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_resize_layer.html#a11d506d07029226e1436c78e3ee75df7">read</a> (<a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;archive)</td></tr>
<tr class="memdesc:a11d506d07029226e1436c78e3ee75df7"><td class="mdescLeft">&#160;</td><td class="mdescRight">From <a class="el" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality.">ISerializable</a>.  <br /></td></tr>
<tr class="separator:a11d506d07029226e1436c78e3ee75df7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2d44978e71a8e9181d4204bf2b6bdce" id="r_ad2d44978e71a8e9181d4204bf2b6bdce"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_resize_layer.html#ad2d44978e71a8e9181d4204bf2b6bdce">write</a> (<a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;archive) const</td></tr>
<tr class="memdesc:ad2d44978e71a8e9181d4204bf2b6bdce"><td class="mdescLeft">&#160;</td><td class="mdescRight">From <a class="el" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality.">ISerializable</a>.  <br /></td></tr>
<tr class="separator:ad2d44978e71a8e9181d4204bf2b6bdce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_abstract_model"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_abstract_model')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_abstract_model.html">shark::AbstractModel&lt; InputTypeT, OutputTypeT, ParameterVectorType &gt;</a></td></tr>
<tr class="memitem:a0b7aeb13b70c8d4cffc4958e6583627c inherit pub_methods_classshark_1_1_abstract_model" id="r_a0b7aeb13b70c8d4cffc4958e6583627c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a0b7aeb13b70c8d4cffc4958e6583627c">AbstractModel</a> ()</td></tr>
<tr class="separator:a0b7aeb13b70c8d4cffc4958e6583627c inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad07313494d4f88c8294410d0c77d80b7 inherit pub_methods_classshark_1_1_abstract_model" id="r_ad07313494d4f88c8294410d0c77d80b7"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#ad07313494d4f88c8294410d0c77d80b7">~AbstractModel</a> ()</td></tr>
<tr class="separator:ad07313494d4f88c8294410d0c77d80b7 inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a234570c3bc1f1fdf06e67ecc4751fa24 inherit pub_methods_classshark_1_1_abstract_model" id="r_a234570c3bc1f1fdf06e67ecc4751fa24"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classshark_1_1_abstract_model.html#aa6b242b73aadc63380181fdf4da1db84">Features</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a234570c3bc1f1fdf06e67ecc4751fa24">features</a> () const</td></tr>
<tr class="separator:a234570c3bc1f1fdf06e67ecc4751fa24 inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8cb877bb0c6b8e713e852f9057a6eae inherit pub_methods_classshark_1_1_abstract_model" id="r_af8cb877bb0c6b8e713e852f9057a6eae"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#af8cb877bb0c6b8e713e852f9057a6eae">updateFeatures</a> ()</td></tr>
<tr class="separator:af8cb877bb0c6b8e713e852f9057a6eae inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae04810c1ae40f816872eba4ef3953e36 inherit pub_methods_classshark_1_1_abstract_model" id="r_ae04810c1ae40f816872eba4ef3953e36"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#ae04810c1ae40f816872eba4ef3953e36">hasFirstParameterDerivative</a> () const</td></tr>
<tr class="memdesc:ae04810c1ae40f816872eba4ef3953e36 inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true when the first parameter derivative is implemented.  <br /></td></tr>
<tr class="separator:ae04810c1ae40f816872eba4ef3953e36 inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1092b50b56555e8f2e8b4d4aa57eb3c3 inherit pub_methods_classshark_1_1_abstract_model" id="r_a1092b50b56555e8f2e8b4d4aa57eb3c3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a1092b50b56555e8f2e8b4d4aa57eb3c3">hasFirstInputDerivative</a> () const</td></tr>
<tr class="memdesc:a1092b50b56555e8f2e8b4d4aa57eb3c3 inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true when the first input derivative is implemented.  <br /></td></tr>
<tr class="separator:a1092b50b56555e8f2e8b4d4aa57eb3c3 inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7edef74da55322b6aef0ba65b08592d inherit pub_methods_classshark_1_1_abstract_model" id="r_ac7edef74da55322b6aef0ba65b08592d"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#ac7edef74da55322b6aef0ba65b08592d">eval</a> (<a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a> const &amp;patterns, <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a> &amp;outputs) const</td></tr>
<tr class="memdesc:ac7edef74da55322b6aef0ba65b08592d inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Standard interface for evaluating the response of the model to a batch of patterns.  <br /></td></tr>
<tr class="separator:ac7edef74da55322b6aef0ba65b08592d inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a331290a6cb2840663d2178899366c8 inherit pub_methods_classshark_1_1_abstract_model" id="r_a3a331290a6cb2840663d2178899366c8"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a3a331290a6cb2840663d2178899366c8">eval</a> (<a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> const &amp;pattern, <a class="el" href="classshark_1_1_abstract_model.html#a8e5acf043e3a76b50d15a852365801b4">OutputType</a> &amp;output) const</td></tr>
<tr class="memdesc:a3a331290a6cb2840663d2178899366c8 inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Standard interface for evaluating the response of the model to a single pattern.  <br /></td></tr>
<tr class="separator:a3a331290a6cb2840663d2178899366c8 inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b69168617355ebbd470caf2393a541f inherit pub_methods_classshark_1_1_abstract_model" id="r_a0b69168617355ebbd470caf2393a541f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a8e5acf043e3a76b50d15a852365801b4">OutputType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a0b69168617355ebbd470caf2393a541f">operator()</a> (<a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> &gt; const &amp;patterns) const</td></tr>
<tr class="memdesc:a0b69168617355ebbd470caf2393a541f inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Model evaluation as an operator for a whole dataset. This is a convenience function.  <br /></td></tr>
<tr class="separator:a0b69168617355ebbd470caf2393a541f inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78b0b0517a53c93013b9372292f73a78 inherit pub_methods_classshark_1_1_abstract_model" id="r_a78b0b0517a53c93013b9372292f73a78"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_model.html#a8e5acf043e3a76b50d15a852365801b4">OutputType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a78b0b0517a53c93013b9372292f73a78">operator()</a> (<a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> const &amp;pattern) const</td></tr>
<tr class="memdesc:a78b0b0517a53c93013b9372292f73a78 inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Model evaluation as an operator for a single pattern. This is a convenience function.  <br /></td></tr>
<tr class="separator:a78b0b0517a53c93013b9372292f73a78 inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa10f381b3bd678c82a600c5bc6ac0ec3 inherit pub_methods_classshark_1_1_abstract_model" id="r_aa10f381b3bd678c82a600c5bc6ac0ec3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#aa10f381b3bd678c82a600c5bc6ac0ec3">operator()</a> (<a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a> const &amp;patterns) const</td></tr>
<tr class="memdesc:aa10f381b3bd678c82a600c5bc6ac0ec3 inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Model evaluation as an operator for a single pattern. This is a convenience function.  <br /></td></tr>
<tr class="separator:aa10f381b3bd678c82a600c5bc6ac0ec3 inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb4966b597013417b5e9957c84485c8c inherit pub_methods_classshark_1_1_abstract_model" id="r_adb4966b597013417b5e9957c84485c8c"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#adb4966b597013417b5e9957c84485c8c">weightedDerivatives</a> (<a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a> const &amp;patterns, <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a> const &amp;outputs, <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a> const &amp;coefficients, <a class="el" href="structshark_1_1_state.html">State</a> const &amp;state, <a class="el" href="classshark_1_1_i_parameterizable.html#a2ad5e2e60b2b352988b41f46024d790b">ParameterVectorType</a> &amp;parameterDerivative, <a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a> &amp;inputDerivative) const</td></tr>
<tr class="memdesc:adb4966b597013417b5e9957c84485c8c inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">calculates weighted input and parameter derivative at the same time  <br /></td></tr>
<tr class="separator:adb4966b597013417b5e9957c84485c8c inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_parameterizable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_parameterizable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_parameterizable.html">shark::IParameterizable&lt; VectorType &gt;</a></td></tr>
<tr class="memitem:a9e3a11172e74d1aa7292f3de4e2b6ebc inherit pub_methods_classshark_1_1_i_parameterizable" id="r_a9e3a11172e74d1aa7292f3de4e2b6ebc"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_parameterizable.html#a9e3a11172e74d1aa7292f3de4e2b6ebc">~IParameterizable</a> ()</td></tr>
<tr class="separator:a9e3a11172e74d1aa7292f3de4e2b6ebc inherit pub_methods_classshark_1_1_i_parameterizable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_nameable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_nameable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_nameable.html">shark::INameable</a></td></tr>
<tr class="memitem:a877dbdfc6b58ea836495143cea44a98c inherit pub_methods_classshark_1_1_i_nameable" id="r_a877dbdfc6b58ea836495143cea44a98c"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_nameable.html#a877dbdfc6b58ea836495143cea44a98c">~INameable</a> ()</td></tr>
<tr class="separator:a877dbdfc6b58ea836495143cea44a98c inherit pub_methods_classshark_1_1_i_nameable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_serializable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_serializable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_serializable.html">shark::ISerializable</a></td></tr>
<tr class="memitem:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable" id="r_a7baa9ce108d7278822297ce15882782a"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a7baa9ce108d7278822297ce15882782a">~ISerializable</a> ()</td></tr>
<tr class="memdesc:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual d'tor.  <br /></td></tr>
<tr class="separator:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable" id="r_abdda0c5b8e065b8afbac2cba8f58e841"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#abdda0c5b8e065b8afbac2cba8f58e841">load</a> (<a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;archive, unsigned int version)</td></tr>
<tr class="memdesc:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Versioned loading of components, calls read(...).  <br /></td></tr>
<tr class="separator:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable" id="r_a5bf66fa8db15cc529bec98976a2f5255"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a5bf66fa8db15cc529bec98976a2f5255">save</a> (<a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;archive, unsigned int version) const</td></tr>
<tr class="memdesc:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Versioned storing of components, calls write(...).  <br /></td></tr>
<tr class="separator:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4560a94e8f4908fe8627e41e7d965735 inherit pub_methods_classshark_1_1_i_serializable" id="r_a4560a94e8f4908fe8627e41e7d965735"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a4560a94e8f4908fe8627e41e7d965735">BOOST_SERIALIZATION_SPLIT_MEMBER</a> ()</td></tr>
<tr class="separator:a4560a94e8f4908fe8627e41e7d965735 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_attribs_classshark_1_1_abstract_model"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classshark_1_1_abstract_model')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classshark_1_1_abstract_model.html">shark::AbstractModel&lt; InputTypeT, OutputTypeT, ParameterVectorType &gt;</a></td></tr>
<tr class="memitem:a4c5a689901083e50007f53de72f694fc inherit pro_attribs_classshark_1_1_abstract_model" id="r_a4c5a689901083e50007f53de72f694fc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_model.html#aa6b242b73aadc63380181fdf4da1db84">Features</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a4c5a689901083e50007f53de72f694fc">m_features</a></td></tr>
<tr class="separator:a4c5a689901083e50007f53de72f694fc inherit pro_attribs_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> = RealVector&gt;<br />
class shark::ResizeLayer&lt; VectorType &gt;</div><p>Resizes an input image to a given size. </p>
<dl class="section user"><dt></dt><dd>The image is resized using an interpolation algorithm which can be chosen by the user. Right now, only spline interpolation is supported. This will slightly smooth input images over a 4x4 grid. This also means that resizing to the same size is not an identity operation</dd></dl>
<p>The derivative of the model wrt its input images is available. </p>

<p class="definition">Definition at line <a class="el" href="_resize_layer_8h_source.html#l00057">57</a> of file <a class="el" href="_resize_layer_8h_source.html">ResizeLayer.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a0cfbefe78f78e071d3b9db899b3c3f29" name="a0cfbefe78f78e071d3b9db899b3c3f29"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0cfbefe78f78e071d3b9db899b3c3f29">&#9670;&#160;</a></span>BatchInputType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">base_type::BatchInputType</a> <a class="el" href="classshark_1_1_resize_layer.html">shark::ResizeLayer</a>&lt; <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::BatchInputType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_resize_layer_8h_source.html#l00066">66</a> of file <a class="el" href="_resize_layer_8h_source.html">ResizeLayer.h</a>.</p>

</div>
</div>
<a id="a83d970b4538adad3aa095e08ca639c9e" name="a83d970b4538adad3aa095e08ca639c9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a83d970b4538adad3aa095e08ca639c9e">&#9670;&#160;</a></span>BatchOutputType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">base_type::BatchOutputType</a> <a class="el" href="classshark_1_1_resize_layer.html">shark::ResizeLayer</a>&lt; <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::BatchOutputType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_resize_layer_8h_source.html#l00065">65</a> of file <a class="el" href="_resize_layer_8h_source.html">ResizeLayer.h</a>.</p>

</div>
</div>
<a id="a165db648b407275a7a9b2d870757c8ff" name="a165db648b407275a7a9b2d870757c8ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a165db648b407275a7a9b2d870757c8ff">&#9670;&#160;</a></span>ParameterVectorType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_i_parameterizable.html#a2ad5e2e60b2b352988b41f46024d790b">base_type::ParameterVectorType</a> <a class="el" href="classshark_1_1_resize_layer.html">shark::ResizeLayer</a>&lt; <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::ParameterVectorType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_resize_layer_8h_source.html#l00067">67</a> of file <a class="el" href="_resize_layer_8h_source.html">ResizeLayer.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a05beadeb7f4aec71d513d624b9ca95be" name="a05beadeb7f4aec71d513d624b9ca95be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a05beadeb7f4aec71d513d624b9ca95be">&#9670;&#160;</a></span>ResizeLayer() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_resize_layer.html">shark::ResizeLayer</a>&lt; <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::ResizeLayer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default Constructor; use setStructure later. </p>

<p class="definition">Definition at line <a class="el" href="_resize_layer_8h_source.html#l00070">70</a> of file <a class="el" href="_resize_layer_8h_source.html">ResizeLayer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_model.html#a76a2d024b6013037b072596fe4f9f829a82b5c22e1b95f20aff01b4b39e86c607">shark::AbstractModel&lt; VectorType, VectorType, VectorType &gt;::HAS_FIRST_INPUT_DERIVATIVE</a>, <a class="el" href="classshark_1_1_abstract_model.html#a76a2d024b6013037b072596fe4f9f829a89a819e2614f818baa23c5c8fdd4393d">shark::AbstractModel&lt; VectorType, VectorType, VectorType &gt;::HAS_FIRST_PARAMETER_DERIVATIVE</a>, and <a class="el" href="classshark_1_1_abstract_model.html#a4c5a689901083e50007f53de72f694fc">shark::AbstractModel&lt; VectorType, VectorType, VectorType &gt;::m_features</a>.</p>

</div>
</div>
<a id="a76c3b0f7b0fbe80c02e43ad1990ce737" name="a76c3b0f7b0fbe80c02e43ad1990ce737"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a76c3b0f7b0fbe80c02e43ad1990ce737">&#9670;&#160;</a></span>ResizeLayer() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_resize_layer.html">shark::ResizeLayer</a>&lt; <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::ResizeLayer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_shape.html">Shape</a> const &amp;&#160;</td>
          <td class="paramname"><em>inputShape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_shape.html">Shape</a> const &amp;&#160;</td>
          <td class="paramname"><em>outputShape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceshark.html#a2dfa4aef4918dec16157e690d4cd9573">Interpolation</a>&#160;</td>
          <td class="paramname"><em>type</em> = <code><a class="el" href="namespaceshark.html#a2dfa4aef4918dec16157e690d4cd9573a4cff6afc4963881749f7742fbb4d1392">Interpolation::Spline</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Configures the model. </p>
<ul>
<li>inputShape <a class="el" href="classshark_1_1_shape.html" title="Represents the Shape of an input or output.">Shape</a> of the image imHeight x imWidth x channel </li>
<li>outputShape <a class="el" href="classshark_1_1_shape.html" title="Represents the Shape of an input or output.">Shape</a> of the resized output imHeight x imWidth </li>
<li>type Type of interpolation to perform, default is Spline-Interpolation </li>
</ul>

<p class="definition">Definition at line <a class="el" href="_resize_layer_8h_source.html#l00080">80</a> of file <a class="el" href="_resize_layer_8h_source.html">ResizeLayer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_model.html#a76a2d024b6013037b072596fe4f9f829a82b5c22e1b95f20aff01b4b39e86c607">shark::AbstractModel&lt; VectorType, VectorType, VectorType &gt;::HAS_FIRST_INPUT_DERIVATIVE</a>, <a class="el" href="classshark_1_1_abstract_model.html#a76a2d024b6013037b072596fe4f9f829a89a819e2614f818baa23c5c8fdd4393d">shark::AbstractModel&lt; VectorType, VectorType, VectorType &gt;::HAS_FIRST_PARAMETER_DERIVATIVE</a>, <a class="el" href="classshark_1_1_resize_layer.html#a66576bbb87bfcc6bdb701e7f1cccc5b5">shark::ResizeLayer&lt; VectorType &gt;::inputShape()</a>, <a class="el" href="classshark_1_1_abstract_model.html#a4c5a689901083e50007f53de72f694fc">shark::AbstractModel&lt; VectorType, VectorType, VectorType &gt;::m_features</a>, <a class="el" href="classshark_1_1_resize_layer.html#ae43eb5d812fd6d8cfa09404779c90973">shark::ResizeLayer&lt; VectorType &gt;::outputShape()</a>, and <a class="el" href="classshark_1_1_resize_layer.html#afffd6a3b962c11a7500180f4550ae42d">shark::ResizeLayer&lt; VectorType &gt;::setStructure()</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a997263b15ab2384f4d2b3006caf32211" name="a997263b15ab2384f4d2b3006caf32211"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a997263b15ab2384f4d2b3006caf32211">&#9670;&#160;</a></span>createState()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boost::shared_ptr&lt; <a class="el" href="structshark_1_1_state.html">State</a> &gt; <a class="el" href="classshark_1_1_resize_layer.html">shark::ResizeLayer</a>&lt; <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::createState </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates an internal state of the model. </p>
<p>The state is needed when the derivatives are to be calculated. Eval can store a state which is then reused to speed up the calculations of the derivatives. This also allows eval to be evaluated in parallel! </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_abstract_model.html#a47d80a74ce80e5dd5e2851c52738b86b">shark::AbstractModel&lt; InputTypeT, OutputTypeT, ParameterVectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_resize_layer_8h_source.html#l00136">136</a> of file <a class="el" href="_resize_layer_8h_source.html">ResizeLayer.h</a>.</p>

</div>
</div>
<a id="a422e9b8b2a8b3d8c96e88ae413828faa" name="a422e9b8b2a8b3d8c96e88ae413828faa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a422e9b8b2a8b3d8c96e88ae413828faa">&#9670;&#160;</a></span>eval()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_resize_layer.html">shark::ResizeLayer</a>&lt; <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::eval </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_resize_layer.html#a0cfbefe78f78e071d3b9db899b3c3f29">BatchInputType</a> const &amp;&#160;</td>
          <td class="paramname"><em>inputs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_resize_layer.html#a83d970b4538adad3aa095e08ca639c9e">BatchOutputType</a> &amp;&#160;</td>
          <td class="paramname"><em>outputs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structshark_1_1_state.html">State</a> &amp;&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Evaluate the model. </p>

<p>Implements <a class="el" href="classshark_1_1_abstract_model.html#af6b99ab56d362609a144764922b4bd7b">shark::AbstractModel&lt; InputTypeT, OutputTypeT, ParameterVectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_resize_layer_8h_source.html#l00143">143</a> of file <a class="el" href="_resize_layer_8h_source.html">ResizeLayer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_shape.html#ad36fc62c674b01150cc5addab9dcc38d">shark::Shape::numElements()</a>, and <a class="el" href="_exception_8h.html#a42a6a50e4d06c00d60fbca5333f40768">SIZE_CHECK</a>.</p>

</div>
</div>
<a id="a66576bbb87bfcc6bdb701e7f1cccc5b5" name="a66576bbb87bfcc6bdb701e7f1cccc5b5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a66576bbb87bfcc6bdb701e7f1cccc5b5">&#9670;&#160;</a></span>inputShape()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_shape.html">Shape</a> <a class="el" href="classshark_1_1_resize_layer.html">shark::ResizeLayer</a>&lt; <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::inputShape </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the expected shape of the input. </p>

<p>Implements <a class="el" href="classshark_1_1_abstract_model.html#a56391736859ddea5d1011d2248431b47">shark::AbstractModel&lt; InputTypeT, OutputTypeT, ParameterVectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_resize_layer_8h_source.html#l00092">92</a> of file <a class="el" href="_resize_layer_8h_source.html">ResizeLayer.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_resize_layer.html#a76c3b0f7b0fbe80c02e43ad1990ce737">shark::ResizeLayer&lt; VectorType &gt;::ResizeLayer()</a>, and <a class="el" href="classshark_1_1_resize_layer.html#afffd6a3b962c11a7500180f4550ae42d">shark::ResizeLayer&lt; VectorType &gt;::setStructure()</a>.</p>

</div>
</div>
<a id="aea826ee3fef39378ae5d73850de34850" name="aea826ee3fef39378ae5d73850de34850"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aea826ee3fef39378ae5d73850de34850">&#9670;&#160;</a></span>name()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string <a class="el" href="classshark_1_1_resize_layer.html">shark::ResizeLayer</a>&lt; <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::name </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>returns the name of the object </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_nameable.html#a9893f99314de30cd472e649c235d0db4">shark::INameable</a>.</p>

<p class="definition">Definition at line <a class="el" href="_resize_layer_8h_source.html#l00088">88</a> of file <a class="el" href="_resize_layer_8h_source.html">ResizeLayer.h</a>.</p>

</div>
</div>
<a id="a6918d49bd4beb58f02ae8c31ce7a6df0" name="a6918d49bd4beb58f02ae8c31ce7a6df0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6918d49bd4beb58f02ae8c31ce7a6df0">&#9670;&#160;</a></span>numberOfParameters()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="classshark_1_1_resize_layer.html">shark::ResizeLayer</a>&lt; <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::numberOfParameters </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the number of parameters. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_parameterizable.html#aed1e8d1d4dbde387e2f6a25141ed3a20">shark::IParameterizable&lt; VectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_resize_layer_8h_source.html#l00109">109</a> of file <a class="el" href="_resize_layer_8h_source.html">ResizeLayer.h</a>.</p>

</div>
</div>
<a id="ae43eb5d812fd6d8cfa09404779c90973" name="ae43eb5d812fd6d8cfa09404779c90973"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae43eb5d812fd6d8cfa09404779c90973">&#9670;&#160;</a></span>outputShape()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_shape.html">Shape</a> <a class="el" href="classshark_1_1_resize_layer.html">shark::ResizeLayer</a>&lt; <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::outputShape </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the shape of the output. </p>

<p>Implements <a class="el" href="classshark_1_1_abstract_model.html#a54b8655a750489902560a5eb32ba5b4b">shark::AbstractModel&lt; InputTypeT, OutputTypeT, ParameterVectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_resize_layer_8h_source.html#l00096">96</a> of file <a class="el" href="_resize_layer_8h_source.html">ResizeLayer.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_resize_layer.html#a76c3b0f7b0fbe80c02e43ad1990ce737">shark::ResizeLayer&lt; VectorType &gt;::ResizeLayer()</a>, and <a class="el" href="classshark_1_1_resize_layer.html#afffd6a3b962c11a7500180f4550ae42d">shark::ResizeLayer&lt; VectorType &gt;::setStructure()</a>.</p>

</div>
</div>
<a id="aa5ceb0d72cba7461594d9dd2f6642a1a" name="aa5ceb0d72cba7461594d9dd2f6642a1a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa5ceb0d72cba7461594d9dd2f6642a1a">&#9670;&#160;</a></span>parameterVector()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_resize_layer.html#a165db648b407275a7a9b2d870757c8ff">ParameterVectorType</a> <a class="el" href="classshark_1_1_resize_layer.html">shark::ResizeLayer</a>&lt; <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::parameterVector </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Obtain the parameter vector. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_parameterizable.html#afaa2ba692ab64a0edbff60d7ee6794db">shark::IParameterizable&lt; VectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_resize_layer_8h_source.html#l00101">101</a> of file <a class="el" href="_resize_layer_8h_source.html">ResizeLayer.h</a>.</p>

</div>
</div>
<a id="a11d506d07029226e1436c78e3ee75df7" name="a11d506d07029226e1436c78e3ee75df7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a11d506d07029226e1436c78e3ee75df7">&#9670;&#160;</a></span>read()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_resize_layer.html">shark::ResizeLayer</a>&lt; <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::read </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;&#160;</td>
          <td class="paramname"><em>archive</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>From <a class="el" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality.">ISerializable</a>. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_abstract_model.html#a11203dd6f50218e4c341a5d24ff5d543">shark::AbstractModel&lt; InputTypeT, OutputTypeT, ParameterVectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_resize_layer_8h_source.html#l00185">185</a> of file <a class="el" href="_resize_layer_8h_source.html">ResizeLayer.h</a>.</p>

</div>
</div>
<a id="a9ea41f7fa3024defb23ce0199c4a99f9" name="a9ea41f7fa3024defb23ce0199c4a99f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ea41f7fa3024defb23ce0199c4a99f9">&#9670;&#160;</a></span>setParameterVector()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_resize_layer.html">shark::ResizeLayer</a>&lt; <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::setParameterVector </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_resize_layer.html#a165db648b407275a7a9b2d870757c8ff">ParameterVectorType</a> const &amp;&#160;</td>
          <td class="paramname"><em>newParameters</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the new parameters of the model. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_parameterizable.html#ad5e35d1a10ff36fa72ea787baa40e9ad">shark::IParameterizable&lt; VectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_resize_layer_8h_source.html#l00106">106</a> of file <a class="el" href="_resize_layer_8h_source.html">ResizeLayer.h</a>.</p>

</div>
</div>
<a id="afffd6a3b962c11a7500180f4550ae42d" name="afffd6a3b962c11a7500180f4550ae42d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afffd6a3b962c11a7500180f4550ae42d">&#9670;&#160;</a></span>setStructure()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_resize_layer.html">shark::ResizeLayer</a>&lt; <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::setStructure </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_shape.html">Shape</a> const &amp;&#160;</td>
          <td class="paramname"><em>inputShape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_shape.html">Shape</a> const &amp;&#160;</td>
          <td class="paramname"><em>outputShape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceshark.html#a2dfa4aef4918dec16157e690d4cd9573">Interpolation</a>&#160;</td>
          <td class="paramname"><em>type</em> = <code><a class="el" href="namespaceshark.html#a2dfa4aef4918dec16157e690d4cd9573a4cff6afc4963881749f7742fbb4d1392">Interpolation::Spline</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Configures the model. </p>
<ul>
<li>inputShape <a class="el" href="classshark_1_1_shape.html" title="Represents the Shape of an input or output.">Shape</a> of the image imHeight x imWidth x channel </li>
<li>outputShape <a class="el" href="classshark_1_1_shape.html" title="Represents the Shape of an input or output.">Shape</a> of the resized output imHeight x imWidth </li>
<li>type Type of interpolation to perform, default is Spline-Interpolation </li>
</ul>

<p class="definition">Definition at line <a class="el" href="_resize_layer_8h_source.html#l00118">118</a> of file <a class="el" href="_resize_layer_8h_source.html">ResizeLayer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_resize_layer.html#a66576bbb87bfcc6bdb701e7f1cccc5b5">shark::ResizeLayer&lt; VectorType &gt;::inputShape()</a>, and <a class="el" href="classshark_1_1_resize_layer.html#ae43eb5d812fd6d8cfa09404779c90973">shark::ResizeLayer&lt; VectorType &gt;::outputShape()</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_resize_layer.html#a76c3b0f7b0fbe80c02e43ad1990ce737">shark::ResizeLayer&lt; VectorType &gt;::ResizeLayer()</a>.</p>

</div>
</div>
<a id="ac7e74232d7382fa6040bb3c3b86a30d9" name="ac7e74232d7382fa6040bb3c3b86a30d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac7e74232d7382fa6040bb3c3b86a30d9">&#9670;&#160;</a></span>weightedInputDerivative()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_resize_layer.html">shark::ResizeLayer</a>&lt; <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::weightedInputDerivative </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_resize_layer.html#a0cfbefe78f78e071d3b9db899b3c3f29">BatchInputType</a> const &amp;&#160;</td>
          <td class="paramname"><em>inputs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_resize_layer.html#a83d970b4538adad3aa095e08ca639c9e">BatchOutputType</a> const &amp;&#160;</td>
          <td class="paramname"><em>outputs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_resize_layer.html#a83d970b4538adad3aa095e08ca639c9e">BatchOutputType</a> const &amp;&#160;</td>
          <td class="paramname"><em>coefficients</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structshark_1_1_state.html">State</a> const &amp;&#160;</td>
          <td class="paramname"><em>state</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_resize_layer.html#a0cfbefe78f78e071d3b9db899b3c3f29">BatchInputType</a> &amp;&#160;</td>
          <td class="paramname"><em>derivatives</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calculates the first derivative w.r.t the inputs and summs them up over all inputs of the last computed batch. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_abstract_model.html#a3c192dedb474c5a8e39b1f46d99f94cc">shark::AbstractModel&lt; InputTypeT, OutputTypeT, ParameterVectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_resize_layer_8h_source.html#l00162">162</a> of file <a class="el" href="_resize_layer_8h_source.html">ResizeLayer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_shape.html#ad36fc62c674b01150cc5addab9dcc38d">shark::Shape::numElements()</a>, and <a class="el" href="_exception_8h.html#a42a6a50e4d06c00d60fbca5333f40768">SIZE_CHECK</a>.</p>

</div>
</div>
<a id="aaafcc82e666ef955a86f1ddd4510f81f" name="aaafcc82e666ef955a86f1ddd4510f81f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaafcc82e666ef955a86f1ddd4510f81f">&#9670;&#160;</a></span>weightedParameterDerivative()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_resize_layer.html">shark::ResizeLayer</a>&lt; <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::weightedParameterDerivative </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_resize_layer.html#a0cfbefe78f78e071d3b9db899b3c3f29">BatchInputType</a> const &amp;&#160;</td>
          <td class="paramname"><em>inputs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_resize_layer.html#a83d970b4538adad3aa095e08ca639c9e">BatchOutputType</a> const &amp;&#160;</td>
          <td class="paramname"><em>outputs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_resize_layer.html#a83d970b4538adad3aa095e08ca639c9e">BatchOutputType</a> const &amp;&#160;</td>
          <td class="paramname"><em>coefficients</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structshark_1_1_state.html">State</a> const &amp;&#160;</td>
          <td class="paramname"><em>state</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_resize_layer.html#a165db648b407275a7a9b2d870757c8ff">ParameterVectorType</a> &amp;&#160;</td>
          <td class="paramname"><em>gradient</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calculates the first derivative w.r.t the parameters and summing them up over all inputs of the last computed batch. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_abstract_model.html#ad699b6b1f813c5cc3b3ed45f254dbc1d">shark::AbstractModel&lt; InputTypeT, OutputTypeT, ParameterVectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_resize_layer_8h_source.html#l00154">154</a> of file <a class="el" href="_resize_layer_8h_source.html">ResizeLayer.h</a>.</p>

</div>
</div>
<a id="ad2d44978e71a8e9181d4204bf2b6bdce" name="ad2d44978e71a8e9181d4204bf2b6bdce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad2d44978e71a8e9181d4204bf2b6bdce">&#9670;&#160;</a></span>write()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_resize_layer.html">shark::ResizeLayer</a>&lt; <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;&#160;</td>
          <td class="paramname"><em>archive</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>From <a class="el" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality.">ISerializable</a>. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_abstract_model.html#a7d3f3d4d781954dc43d6cd445a5b56b4">shark::AbstractModel&lt; InputTypeT, OutputTypeT, ParameterVectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_resize_layer_8h_source.html#l00192">192</a> of file <a class="el" href="_resize_layer_8h_source.html">ResizeLayer.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/shark/Models/<a class="el" href="_resize_layer_8h_source.html">ResizeLayer.h</a></li>
</ul>
</div><!-- contents -->
</div>
</body>
</html>
